<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>{$Conf['title']}</title>
    <link rel="icon" type="text/css" href="icon.ico" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/index.css" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/account.css"/>
    <link rel="stylesheet" href="__PUBLIC__/Home/css/qikoo_shop_new.css">
    <link rel="stylesheet" href="__PUBLIC__/Home/css/qikoo_user.css">
    <script src="__PUBLIC__/home/js/jquery-1.10.1.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="__PUBLIC__/Home/layer-v3.0.3/layer/layer.js"></script>

    <script src="__PUBLIC__/Home/js/area.js" type="text/javascript" charset="utf-8"></script>

    <script src="__PUBLIC__/Home/js/1102.js"></script>

    <script>
        var  url="{:U('ajaxEdit')}";
        var reduceUrl="{:u('ajaxReduce')}";
        var dataUrl="{:u('ajaxData')}"
    </script>
    <?php foreach($Conf['js'] as $v){?>
    <script src="__PUBLIC__/home/js/<?php echo $v?>.js" type="text/javascript" charset="utf-8"></script>
    <?php } ?>


</head>

<body>
<!--头部开始-->
<div id="top">
    <!--头部灰条就开始-->
    <div class="topbox">
        <div class="main">
            <div class="topleft fl">
                <a href="{:u('home/index/index')}">欢迎来到弧度商城</a>

                <a href="#" class='last'><i></i>手机商城</a>
            </div>
            <div class="topright fr">
                <div class="login fl">
                    <if condition="!session('?username')"><a href="{:u('home/login/index')}">登录</a>
                        <a href="{:u('home/reg/index')}">注册</a>
                        <else />
                        <a href="">{$_SESSION['username']}</a>
                        <a href="{:u('home/login/atuo')}">退出</a>
                    </if>


                </div>
                <span class="fl">|</span>
                <div class="fcode fl">

                    <a href="{:u('home/order/index')}">我的订单</a>
                </div>
            </div>
        </div>
    </div>
    <!--头部灰条结束-->

    <!--logo区域开始-->
    <div class="logoRegion">
        <div class="main">
            <div class="logo">
                <a href=""><img src="__PUBLIC__/Home/images/360logo.png"/></a>
            </div>
            <div class="seachRegion">
                <div class="seach fl">
                    <form action="{:u('Home/Search/index')}" method="get">
                        <input type="text" class="seachtxt fl" name="search" <if condition="$_GET['search']">value="{$_GET['search']}" <else /> value="O2+车载空气净化"</if> />


                        <input type="submit" class="btn" value=""  />
                    </form>
                    <!--<p class="searchkey">-->
                        <!--<a href="">电竞配件低至5折</a>-->

                    <!--</p>-->


                </div>
                <div class="topshopcart fr">
                    <a href="" class="header-cart"><i></i>我的购物车<span class="cart-size"><if condition="$_SESSION['cart']['total_rows']">({$_SESSION['cart']['total_rows']})<else />(0)</if></span></a>
                      <div class="cart-tips" style="width: 308px;">
                            <div class="cart-info" >

                                <!--//京东偷得购物车-->

                                <!--购物车-->
                                <style>
                                    .dorpdown-layer{
                                        display: block;
                                        width: 308px;
                                        background: #fff;

                                    }

                                    .smc {
                                        background: #fff;
                                        height: auto!important;
                                        height: 344px;
                                        max-height: 344px;
                                        overflow-y: auto;
                                    }
                                    .mcart-sigle{
                                        margin: 0;
                                        padding:0;

                                        border-bottom: 1px dotted #ccc;
                                        overflow: hidden;
                                        line-height: 17px;
                                        vertical-align: bottom;

                                    }
                                    .mcart-sigle li {
                                        padding: 8px 10px;

                                        overflow: hidden;
                                        line-height: 17px;
                                        vertical-align: bottom;
                                    }
                                    .p-img {

                                        float: left;
                                        width: 50px;
                                        height: 50px;
                                        border: 1px solid #ddd;
                                        padding: 0;
                                        margin-right: 10px;
                                        font-size: 0;
                                    }
                                    .p-name {
                                        display: block;
                                        float: left;
                                        font-size: 12px;
                                        color: #000;
                                        width: 120px;
                                        overflow: hidden;
                                    }

                                    .p-price strong {
                                        color: #e4393c;
                                        font-size: 14px;
                                        font-family: Verdana;
                                    }

                                    .p-detail{

                                        width: 100px;
                                        float: right;
                                    }
                                    .p-name{
                                        text-align: left;
                                    }
                                    .p-name a{
                                        color: #666;
                                    }
                                    .p-name span{
                                        color: #ccc;
                                    }
                                    .p-detail a.delete{

                                        display: block;
                                        text-align: right;
                                        padding-right: 20px;
                                        padding-top: 10px;
                                        font-size: 12px;
                                        text-decoration: none;
                                        color: #666;

                                    }

                                    .p-total{

                                        line-height: 29px;
                                        font-size: 12px;
                                        float: left;
                                        line-height: 29px;
                                        padding: 5px 15px;
                                    }
                                    .shopcart a{
                                        display: block;
                                        float: right;
                                        height: 29px;
                                        color: #fff;
                                        padding: 0 10px;
                                        background: #E4393C;
                                        font-weight: 700;
                                        line-height: 29px;
                                        font-size: 12px;
                                        text-decoration: none;
                                        margin: 5px 10px;
                                        border-radius: 3px;

                                    }

                                </style>


                                <div class="dorpdown-layer">
                                    <div class="spacer"></div>
                                    <div id="settleup-content">



                                        <foreach name="_SESSION['cart'][goods]" key="k" item="vo">
                                            <ul class="mcart-sigle">
                                                <li>
                                                    <div class="p-img">
                                                        <a href="" target="_blank">
                                                            <img src="__ROOT__/{$vo['options']['img']}" width="50" height="50" alt="">
                                                        </a>
                                                    </div>
                                                    <div class="p-name">
                                                        <a href="" >{$vo['name']}</a>
                                                        <foreach name="vo['options']['options']" key='kk' item='v'>
                                                            <span>{$kk}：{$v}</span>&nbsp;&nbsp;
                                                        </foreach>
                                                    </div>
                                                    <div class="p-detail">
                                               <span class="p-price">
                                               <strong>￥{$vo['price']}</strong>×{$vo['num']}</span>
                                                        <a href="" class="delete">删除</a>

                                                    </div>
                                                </li>
                                            </ul>
                                        </foreach>
                                        <div class="smc">
                                            <div class="smb">
                                                <div class="p-total">共<b>{$_SESSION['cart']['total_rows']}</b>件商品　
                                                    共计<strong>￥{$_SESSION['cart']['total']}</strong></div>
                                            </div>
                                            <div class="shopcart">
                                                <a href="{:u('Home/Cart/index')}" title="去购物车" id="btn-payforgoods">去购物车</a>
                                            </div>
                                        </div>

                                    </div>
                                </div>


                                <!--购物车-->



                            </div>
                    </div>
                </div>
            </div>

        </div>
    </div>
    <!--logo区域结束-->
    <!--导航开始-->
    <div class="navbox">
        <div class="main">
            <h5 class="fl"><a href=""><i></i>全部智能酷品</a></h5>
            <ul class="menu fl">
                <li class="menulist">
                    <a href="list.html">手机</a>
                    <div class="menuHiden">

                        <ul class="product">
                            <volist name="shopData" id="v" offset="2" length='6'>
                            <li>
                                <a href="{:u('home/content/index',['gid'=>$v['gid']])}"><img src="__ROOT__/{$v['pic']}" alt="" />
                                    <p style="height: 30px;">{$v['gname']}</p>
                                    </a>


                            </li>

                            </volist>
                        </ul>

                    </div>
                </li>

            </ul>

        </div>
        <!--从这开始-->
        <if condition="CONTROLLER_NAME=='Index'">
            <div class="main hiden">
                <div class="navHidden">
                    <ul class="list2">
                        <?php $i=0;?>
                        <?php foreach($field as $k=>$v){?>
                        <?php $i++;?>
                        <?php if($i<9){?>
                        <li>
                            <a href="<?php echo u('home/listPage/index',['cid'=>$v['cid']])?>"><i></i><?php echo $v['cname']?></a>
                            <div class="listhide">
                                <div class="contentOne">
                                    <?php foreach($v['_data'] as $kk=>$vv){?>
                                    <dl>
                                        <dt><a href="<?php echo u('home/listPage/index',['cid'=>$vv['cid']])?>" style="padding-left:-30px;"><?php echo $vv['cname']?></a>&gt;</dt>
                                        <?php foreach($vv['_data'] as $kkk=>$vvv){?>
                                        <dd>
                                            <a href="<?php echo u('home/listPage/index',['cid'=>$vvv['cid']])?>" class="noo"><?php echo $vvv['cname']?></a>
                                        </dd>
                                        <?php }?>
                                    </dl>
                                    <?php } ?>
                                </div>
                            </div>
                        </li>
                        <?php } ?>
                        <?php } ?>
                    </ul>
                </div>
                <div class="topad">
                    <div class="righttopad">
                        <a href="{:u('home/content/index',['gid'=>1])}"><img src="__PUBLIC__/Home/images/wzdt1.webp" style="width:210px;height: 200px; " /></a>
                    </div>
                    <div class="righttopad">
                        <a href="{:u('home/content/index',['gid'=>39])}"><img src="__PUBLIC__/Home/images/erji1.webp" style="width:210px;height: 200px; " /></a>
                    </div>
                </div>
            </div>
        </if>
    </div>
    <div class="clear"></div>
    <block name="content"></block>



    <!--头部结束-->
    <!--中间开始-->

    <!--中间结束-->
    <!--到这里结束-->
    <!--尾部开始-->
    <div class="mod-footer">
        <div class="foot-bannerw">
            <div class="foot-banner clearfix">
                <div class="banner-item">
                    <a href="#" target="_blank" data-monitor="home_foot_days7"><i class="icon1">7</i>7天无理由退货</a>
                </div>
                <div class="banner-item">
                    <a href="#" target="_blank" data-monitor="home_foot_days15"><i class="icon2">15</i>15天免费换货</a>
                </div>
                <div class="banner-item"><i class="icon3">包</i>满99元包邮</div>
                <div class="banner-item">
                    <a href="#" target="_blank" data-monitor="home_foot_moblie"><i class="icon4">服</i>手机特色服务</a>
                </div>
            </div>
        </div>

        <div class="footer-copyright">弧度商场@ 版权为wzq所有 京ICP备000001号-01</div>
    </div>
    <!--尾部结束-->

    <!--右边底部返回顶部-->
    <div class="slidebar" id="slidebar">
        <ul>
            <li class="topback">
                <a href="javascript:;"></a>
            </li>
        </ul>
    </div>
    <!--右边底部返回顶部结束-->
    <!--左侧楼层开始-->
    <div class="floor">
        <ul>
            <li class="on1">
                <a href="javascript:;"><span>1F<br />活动</span></a>
            </li>
            <li class="on2">
                <a href="javascript:;"><span>2F<br />活动</span></a>
            </li>
            <li class="on3">
                <a href="javascript:;"><span>3F<br />活动</span></a>
            </li>
            <li class="on4">
                <a href="javascript:;"><span>4F<br />活动</span></a>
            </li>
            <li class="on5">
                <a href="javascript:;"><span>5F<br />活动</span></a>
            </li>
            <li class="on6">
                <a href="javascript:;"><span>6F<br />活动</span></a>
            </li>
        </ul>

    </div>

    <!--左侧楼层结束-->
</body>

</html>



